package com.monad.firemoth.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.monad.firemoth.system.entity.Role;
import com.monad.firemoth.system.entity.User;
import com.monad.firemoth.system.mapper.UserMapper;
import com.monad.firemoth.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户 服务实现类
 *
 * @author 单C胞生物
 * @since 2024-04-19 06:27:18
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserById(Long userId) {
        return userMapper.getUserById(userId);
    }
}
